const { getToken, setToken } = require("../utils/token");
const expressJwt = require("express-jwt");
const token = setToken("zhangjialin", "123456789");
token.then((value) => {
	value = "Bearer: " + value;
	console.log(getToken(value));
	console.log(
		expressJwt({
			secret: "zgs_first_token",
			algorithms: ["HS256"], // 加密算法
		})
	);
});
